package com.itheima.test;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class CompanyProvider {

    public static void main(String[] args)throws Exception {
        //当前配置文件创建容器
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath*:/spring/applicationContext_*.xml");

        //启动容器
        context.start();

        //任意键退出
        System.in.read();


    }

}
